<div class="panel panel-default">
    <div class="panel-heading">SKU属性</div>
    <table class="table table-hover">
        <thead>
        <tr>
            <th>属性名称</th>
            <th>属性类型</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>

        <#list list as data>
        <tr>
            <td>${data.name}</td>
            <td>
            ${data.propertyType}
                <#if data.type == 2><#--多选方式-->
                    <a href="javascript:showProperty(${data.id});">查看属性</a>
                </#if>
            </td>
            <td>
                <a href="javascript:addSkuProperty(${data.id},${list?size});">编辑</a> /
                <a href="javascript:deletekuProperty(${data.id});">删除</a>
            </td>
        </tr>
        </#list>
        </tbody>
    </table>
    <div class="modal-footer">
        <button type="button" class="btn btn-info" onclick="addSkuProperty(-1,${list?size})">新增属性分类</button>
    </div>
</div>